package com.shop.service;

import com.shop.common.ResponseResult;
import com.shop.entity.Role;

public interface RoleService {
    public ResponseResult addRole(Role role);
    public ResponseResult selectOne(Integer id);
    public ResponseResult updateRole(Integer id,Role role);
    public ResponseResult deleteRole(Integer id);
    public ResponseResult selectAll();
    public ResponseResult updateAuthorization(Integer id,String rids);
    public ResponseResult deleteAuthorization(int roleId, int rightId);
}
